package top.bfylu.avert_finalizer;

public class Foo {
    //Sole purpose of this object is to finalize outer Foo object
    private final Object finalizerGuardian = new Object() {

        @Override
        protected void finalize() throws Throwable {
            // Finalize outer Foo object

        }
    };

        //Remainder omitted
}
